{% extends "news/base.html"%}

{% block titleBlock %}
    首页-新经资讯
{% endblock %}

{% block scriptBlock %}
    <script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}

{% block menuBlock %}
    <ul class="menu fl">
        {% for category in data.category_li %}
            {% if loop.index == 1 %}
                <li class="active" adata-cid="{{ category.id }}"><a href="javascript:;">{{ category.name }}</a></li>
            {% else %}
                <li data-cid="{{ category.id }}"><a href="javascript:;">{{ category.name }}</a></li>
            {% endif %}

        {% endfor %}

    </ul>
{% endblock %}


{% block contentBlock %}
    <ul class="list_con fl">
        <!-- 数据库查询数据内容 -->
    </ul>
{% endblock %}


{% block author_card_Block %}

{% endblock %}

